package com.aotain.oframework.util.mail;

public class EmailContact {

	/** Receiver Name **/
	private String toName;
	/** Receiver Email Address **/
	private String toEmail;

	public EmailContact() {
	}

	public EmailContact(String toEmail) {
		this.toEmail = toEmail;
	}

	public EmailContact(String toName, String toEmail) {
		this.toName = toName;
		this.toEmail = toEmail;
	}

	public String getToName() {
		return toName;
	}

	public void setToName(String toName) {
		this.toName = toName;
	}

	public String getToEmail() {
		return toEmail;
	}

	public void setToEmail(String toEmail) {
		this.toEmail = toEmail;
	}

	public String toString() {
		return toEmail;
	}

}
